<template>
	<view class="content">
		<u-parse :content="pram_data.content" @preview="preview" @navigate="navigate"></u-parse>
	</view>
</template>

<script>
	import uParse from '@/components/u-parse/u-parse'
	export default {
		components: {
		    uParse
	    },
		data() {
			return {
				imageProp: {
					mode: 'widthFix'
				},
				pram_data: {
					content: '协议详情描述',
				}
			}
		},
		onLoad() {
			uni.setNavigationBarTitle({
				title: "免责协议"
			})
		},
		methods: {
			preview(src, e) {
			      // do something
			},
			navigate(href, e) {
			  // do something
			}
		}
	}
</script>

<style lang="less">
	.content {
		margin: 30px 20px 20px 20px;
		font-size: 16px;
		line-height: 30px;
	}
</style>
